--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -859,11 +859,11 @@ class uConf(object):
                 self.cflags.append('-DUWSGI_HAS_EXECINFO')
                 report['execinfo'] = True
 
-        if self.has_include('zlib.h'):
-            self.cflags.append('-DUWSGI_ZLIB')
-            self.libs.append('-lz')
-            self.gcc_list.append('core/zlib')
-            report['zlib'] = True
+#        if self.has_include('zlib.h'):
+#            self.cflags.append('-DUWSGI_ZLIB')
+#            self.libs.append('-lz')
+#            self.gcc_list.append('core/zlib')
+            report['zlib'] = False
 
         if uwsgi_os == 'OpenBSD':
             try:
